package service

import (
	"seat-service/model"
	"seat-service/model/dto"
)

type Classroom interface {
	GetByBuildingAndName(par dto.ClassroomLike) (classrooms []model.Classroom, err error)
	GetById(id uint) (classrooms model.Classroom, err error)
	GetByBuildingID(bID uint) (classrooms []model.Classroom, err error)
	GetByBuildingIDAndPage(bID uint, page dto.PageParam) (classrooms []model.Classroom, err error)
	GetAll() (classrooms []model.Classroom, err error)
	GetReserveByClassroomStatue(statue int) (classrooms []model.Classroom, err error)
}
